package PTA2.ti46;

import java.util.Scanner;

/**
 * @author Lenovo
 */
public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        for (int i=1;i<=n;i++){
            System.out.print(i+" ");
        }
        for (int i=n-1;i>=1;i--){
            System.out.print(i+" ");
        }
        scanner.close();
    }
}
